<?php
	require_once('function/connectDB.php');
	
	$sql = 'INSERT INTO email(email) VALUES("'.$_POST['email'].'") WHERE email NOT LIKE "'.$_POST['email'].'"';
	$result = mysql_query($sql);
	//var_dump($result);die("kkdk");
	if($result)
	{
		echo 'done';
	}
	else
	{
		echo 'notdone';
	}
?>